Module-level declarations

Types

Link copied to clipboard
Link copied to clipboard
struct tile_dto
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard

Functions

Link copied to clipboard
function _check_free_trial_contract(griddable: instance, account_id: byte_array): boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
function cell_coord_to_tile_index(cell: location, plot_width: integer): integer
Link copied to clipboard
Link copied to clipboard
@extend(check_ownership_hook) function check_free_trial(griddable: instance, account_id: byte_array, cells: set<location>): map<text, boolean>
Link copied to clipboard
@extend(check_plot_access) function check_owner_or_renter(account_id: byte_array, plot_id: integer): map<text, boolean>
Link copied to clipboard
function clear_tiles(plot_id: integer)
Link copied to clipboard
Link copied to clipboard
function is_a_renter(account_id: byte_array): boolean
Link copied to clipboard
@extendable function on_renter_removed(account_id: byte_array, plot_id: integer)
Link copied to clipboard
function remove_renter_from_plot(plot_id: integer)
Link copied to clipboard
function tile_indices_to_cell_coords(tile_indices: list<integer>, width: integer): set<location>

Queries

Link copied to clipboard
@mount("free_trials.get_free_trial_data_for_plot") query get_free_trial_data_for_plot(plot_id: integer): trial_contract_dto?
Link copied to clipboard
@mount("free_trials.get_free_trials_data_for_address") query get_free_trials_data_for_address(requested_evm_address: byte_array): user_trial_data_dto
Link copied to clipboard
@mount("free_trials.get_free_trials_data_for_player") query get_free_trials_data_for_player(account_id: byte_array): list<trial_contract_dto>

Operations

Link copied to clipboard
@mount("free_trials.request_free_trial") operation request_free_trial(request: free_trial_request)